#ifndef _PARSER_HPP_
#define _PARSER_HPP_


#include <boost/property_tree/ptree.hpp>
#include <boost/property_tree/json_parser.hpp>

#include "config.hpp"
#include "scene.hpp"
#include "primitive.hpp"

using boost::property_tree::ptree;


namespace config_ns
{
    void ParseConfig( Config & config, Scene & scene);
    void ParseConfig( Config & config, Scene & scene, std::string file_name);
    void ParseCamera( Config & config, ptree & _pt);
    void ParseScene ( Config & config, Scene & scene, ptree & _pt);
};

#endif //_PARSER_HPP_

